package com.xianxing.wxPay.config;
import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class RabbitConfig {

    public static final String ORDER_PAY="order_pay";//订单支付队列

    @Bean
    public Queue queue(){
        return new Queue(ORDER_PAY);
    }
}
